<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>认识一下vm</title>
    <!-- 引入Vue -->
    <script type="text/javascript" src="../../js/vue.js"></script>
  </head>
  <body>
    <!-- 准备好一个容器-->
    <div id="demo">
      <h1>学校名称:{{school}}</h1>
      <h1>学校地址:{{address}}</h1>
      <h1>测试1:{{_c}}</h1>
      <h1>测试2:{{$attrs}}</h1>
      <h1>测试3:{{$mount}}</h1>
      <h1>测试4:{{toString}}</h1>
      <h1>测试5:{{x}}</h1>
      <h1>测试6:{{y}}</h1>
    </div>

    <script type="text/javascript">
      Object.prototype.x = 9
      Vue.prototype.y = 10
      const vm = new Vue({
        el:'#demo',
        data:{
          school:'尚硅谷',
          address:'宏福科技园'
        }
      })
      console.log(vm)
    </script>
  </body>
</html>